﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppCode/MasterPages/Admin.master" AutoEventWireup="true" CodeFile="UpdateEmployee.aspx.cs" Inherits="AppCode_Admin_UpdateEmployee" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .auto-style1 {
            width: 183px;
        }

        .auto-style2 {
            width: 85px;
        }
        .auto-style3 {
            width: 85px;
            height: 24px;
        }
        .auto-style4 {
            width: 183px;
            height: 24px;
        }
        .auto-style5 {
            height: 24px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
    <div>
        <div style="width: 700px; margin: 0 auto; margin-left: 300px;">
            <p style="margin-left: 80px; font-size: 19px; margin-top: 40px; font-weight: bold; margin-bottom: 20px;">Update Employee </p>
            <table style="border-spacing:30px 10px">
                <tr>
                    <td class="auto-style3">
                        <asp:Label ID="Label1" runat="server" Text="Designation"></asp:Label></td>
                    <td class="auto-style4">
                        <asp:TextBox ID="txtDesignation" runat="server" Width="175px"></asp:TextBox></td>
                    <td class="auto-style5">
                        <asp:Label ID="Label2" runat="server" Text="Designation is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label3" runat="server" Text="Join Date"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtJoinDate" runat="server" Width="175px"></asp:TextBox>
                        <asp:CalendarExtender ID="txtJoinDate_CalendarExtender" runat="server" TargetControlID="txtJoinDate">
                        </asp:CalendarExtender>
                    </td>
                    <td>
                        <asp:Label ID="Label4" runat="server" Text="Join Date is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label5" runat="server" Text="Salary"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtSalary" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label6" runat="server" Text="Salary is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label7" runat="server" Text="FirstName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtFirstName" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label8" runat="server" Text="FirstName is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label9" runat="server" Text="LastName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtLastName" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label10" runat="server" Text="LastName is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label11" runat="server" Text="UserName"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtUserName" runat="server" Width="175px" Enabled="False"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label12" runat="server" Text="UserName is requried" ForeColor="#CC0000"></asp:Label>
                        <asp:Label ID="Label25" runat="server" Text="UserName have been exist" ForeColor="#CC0000"></asp:Label>
                    </td>
                </tr>

                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label15" runat="server" Text="Address"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtAddress" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label16" runat="server" Text="Address is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label17" runat="server" Text="Contact No"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtContact" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label18" runat="server" Text="Contact No is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label19" runat="server" Text="State"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtState" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label20" runat="server" Text="State is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label21" runat="server" Text="Country"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtCountry" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label22" runat="server" Text="Country is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Label23" runat="server" Text="City"></asp:Label></td>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtCity" runat="server" Width="175px"></asp:TextBox></td>
                    <td>
                        <asp:Label ID="Label24" runat="server" Text="City is requried" ForeColor="#CC0000"></asp:Label></td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:Button ID="Button1" runat="server" Text="Update" Height="30px" Width="80px" OnClick="Button1_Click" /></td>
                    <td class="auto-style1">
                        <asp:Button ID="Button2" runat="server" Text="Cancle" Height="30px" Width="80px" /></td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>

